Make gdk_colormap_sync private since it was never exported in a header
authorOwen Taylor <otaylor@redhat.com>
Fri, 2 Feb 2001 22:19:31 +0000 (22:19 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 2 Feb 2001 22:19:31 +0000 (22:19 +0000)
commita2d1299475cb8f34f99e420ef752bf9366275bf7
tree1a7dd40f663b198d7e525ea07a6a84a63f6e783e
parenta1a252ce46b50ff199e5ee084036267455b9ec5b
Make gdk_colormap_sync private since it was never exported in a header

Fri Feb  2 17:16:09 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkcolor-x11.c (gdk_colormap_sync): Make
gdk_colormap_sync private since it was never exported
in a header file.

* gdk/x11/gdkcolor-x11.c (gdk_colormap_new): Fill in
colormap->colors[] for StaticGray, StaticColor colormaps.

* gdk/gdkpixbuf-drawable.c: Fix problems where image->bpp
was being used as if it was image->bits_per_pixel.

* gdk/gdkimage.h, gdk/x11/gdkimage-x11.c: Save the bits-per-pixel
for the image in the GdkImage structure since it isn't
reconstructable, and we need it to handle packed types

* gdk/win32/gdkimage-win32.c: Set image->bits_per_pixel. (I'm making
the assumption that on Win32 image->bits_per_pixel == image->depth,
always.

* gdk/linux-fb/gdkimage-fb.c: Set image->bits_per_pixel.

* gdk/gdkrgb.c (gdk_rgb_select_conv): Exit with an informative
warning message if no converter can be found.
16 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
examples/packer/pack.c
gdk/gdkimage.h
gdk/gdkpixbuf-drawable.c
gdk/gdkrgb.c
gdk/linux-fb/gdkimage-fb.c
gdk/win32/gdkimage-win32.c
gdk/x11/gdkcolor-x11.c
gdk/x11/gdkimage-x11.c
gtk/fnmatch.c